package com.wuzhiming.istudy.pojo;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: CourseStage
 * @Description: 课程阶段实体表
 * @Author:zhimingw
 * @Version 1.0
 * @since 2022/2/27 16:28
 */
@Data
public class CourseStage implements Serializable {
    private static final long serialVersionUID = 366461946442962822L;

    /**
     * 课程阶段id
     * */
    private Integer id;

    /**
     * 课程类别id
     * */
    private Integer courseTypeId;

    private CourseType courseType;

    /**
     * 课程阶段名称
     * */
    private String title;

    /**
     * 课程阶段状态
     * */
    private Integer status;

    /**
     * 课程阶段排序
     * */
    private Integer sort;

    /**
     * 课程阶段添加时间
     * */
    private Date addTime;

    public CourseStage(){}

    public CourseStage(Integer id, Integer courseTypeId, String title, Integer status, Integer sort, Date add_time) {
        this.id = id;
        this.courseTypeId = courseTypeId;
        this.title = title;
        this.status = status;
        this.sort = sort;
        this.addTime = add_time;
    }

    public CourseStage(Integer id, Integer courseTypeId, CourseType courseType, String title, Integer status, Integer sort, Date addTime) {
        this.id = id;
        this.courseTypeId = courseTypeId;
        this.courseType = courseType;
        this.title = title;
        this.status = status;
        this.sort = sort;
        this.addTime = addTime;
    }
}
